package com.zhongxia.mapper;

import com.zhongxia.entity.Order;

import java.util.List;

/**
 * @Author: 废柴弟弟
 * @Date: 2020/4/9 18:30
 */
public interface OrderMapper {
    public void save(Order order);
    public List<Order> findAllByUid(int index, int limit,int uid);
    public int count(int uid);
    public List<Order> findAll(int index,int limit);
    public void update(int id);
    public int countByState();
}
